From 1760e2e8fffecf26bd0d079a0cd7b41823dffccb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kornel=20Lesin=CC=81ski?= Date: Thu, 26 Jan 2017 23:28:56 +0000 Subject: [PATCH] Example proxy config #3596 --- src/doc/config.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doc/config.md b/src/doc/config.md index c542af429..798a25da6 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -79,7 +79,8 @@ index = "..." # URL of the registry index (defaults to the central repository) token = "..." # Access token (found on the central repo’s website) [http] -proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none) +proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none) + # in libcurl format, e.g. "socks5h://host:port" timeout = 60000 # Timeout for each HTTP request, in milliseconds cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional) -- 2.30.2